package com.example.windowdemo.callback;

import android.content.Context;
import android.view.View;

import com.example.windowdemo.window.Window;

/**
 * @author: njb
 * @date: 2023/8/2 17:44
 * @desc: 适配器模式
 */
public interface WindowAdapter<T> {
    Window<T> createWindow(Context context);
    void configureWindow(Window<T> window);
    void setData(Window<T> window, T data);
    View createView(Context context);
}
